package com.edu.app.service.sys.linkservices;

import com.edu.app.bean.core.SysActivity;
import com.edu.app.bean.core.SysCustomer;
import com.edu.app.bean.linkbeans.SysCustomerActivity;

import com.edu.app.service.sys.BaseService;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SysCustomerActivityService extends BaseService<SysCustomerActivity> {
    List<SysActivity> getActivityByCustomerId(Integer id);
    List<SysCustomer> getCustomerByActivityId(Integer id);
    SysCustomerActivity getCustomerActivity(Integer customer_id, Integer activity_id);
    PageInfo getCustomerActivityByPage(Integer id, Integer currentPage, Integer pageSize);
    PageInfo getCustomerActivities(Integer id, String type, Integer currentPage, Integer pageSize);
    PageInfo getCustomerActivitiesAll(Integer id, Integer currentPage, Integer pageSize);
    Integer deleteCustomerActivityByActivityId(Integer activity_id);
    Integer deleteCustomerActivityByCustomerId(Integer customer_id);
}
